package com.saas.after.job.entity;

import com.saas.after.job.config.Comment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Classname ConcatEntity
 * @Description TODO
 * @Date 2021/8/17 14:30
 * @Created by hjchen
 */

@Data
@Entity
@Table(name = "t_contact_info")
@Comment("联系地址信息")
@EqualsAndHashCode(callSuper = true)
public class ContactInfo extends BaseEntity {

    @Comment("联系⼈")
    @Column(length = 50)
    private String contact;

    @Comment("联系电话")
    @Column(length = 50)
    private String mobile;

    @Comment("邮箱")
    @Column(length = 50)
    private String email;

    @Comment("固话")
    @Column(length = 50)
    private String telephone;

    @Comment("省编码")
    @Column(length = 50)
    private String provinceCode;

    @Comment("省名称")
    @Column(length = 50)
    private String provinceName;

    @Comment("市编码")
    @Column(length = 50)
    private String cityCode;

    @Comment("市名称")
    @Column(length = 50)
    private String cityName;

    @Comment("区名称")
    @Column(length = 50)
    private String regionName;

    @Comment("区编码")
    @Column(length = 50)
    private String regionCode;

    @Comment("街道名称")
    @Column(length = 50)
    private String streetName;

    @Comment("街道编码")
    @Column(length = 50)
    private String streetCode;

    @Comment("详细地址")
    @Column(length = 100)
    private String addrDetail;

}